--[[
-- Author:      feilong
-- DateTime:    2020-10-23 17:19:33
-- Description: 节点起动入口
-- 游戏大厅
	1用户信息展示
	2游戏列表
	3游戏入口
	4用户登入登出

--]]

local skynet = require "skynet"
local sharedata = require("skynet.sharedata")

g.service_name = "main"

skynet.start(function()

	local server_config = dofile(skynet.getenv("server_config"))
	local node_info = server_config.node_info
	--skynet控制台
	skynet.uniqueservice("debug_console", node_info.debug_port)

	local service = skynet.uniqueservice("config/config_service")	
	g.Message():callService(service, "start")


	
	local service = skynet.uniqueservice("manager_service")	
	g.Message():callService(service, "start")



	



	skynet.exit()


end)

